package com.pojo.entity;


import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDate;
import java.time.LocalDateTime;

@Data
@TableName("role_auth")
public class RoleAuth {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;
    /**
     * 角色id
     */
    @TableField
    private Long roleId;
    /**
     * 权限id
     */
    @TableField
    private Long authId;
    /**
     * 创建时间
     */
    @TableField
    private LocalDateTime createDatetime;
    /**
     * 更新时间
     */
    @TableField
    private LocalDateTime updateDatetime;
}
